package top.wilbert.collegelink.forum.feign;/**
 * @author augus
 * @create 2023-02-28-15:43
 */


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author Augus
 * @ClassName:ThirdPartFeignService
 * @date 2022/7/27 14:48
 * @Version 1.0
 **/
@FeignClient("collegelink-third-party")
public interface ThirdPartFeignService {

    @PostMapping(value = "/oss/uploadImages", consumes = {MediaType.MULTIPART_FORM_DATA_VALUE})
    public String uploadImages(@RequestPart("images") MultipartFile[] images);
}
